package requests

import (
	"im/model"
)

const (
	GetRecommendPostsFilterMineSent  = 1
	GetRecommendPostsFilterMineReply = 2
)

type GetRecommendPosts struct {
	Pagination
	// 1为我发布的, 2为我回复的,不传为全部
	Filter int `json:"filter"`
	// 地理坐标, "lat,lon"
	Location string `json:"location"`
}

type PostPostsForward struct {
	GroupIds string `json:"group_ids"`
}

type PostPosts struct {
	model.PostsModifiable
	// 帖子所在的群用,分割
	FromGroupId string `json:"from_group_id" xorm:"from_group_id not null varchar(512)" es:"type:long"`
}
